<p>
    {{#if user}}
        {{#equal user.name post.name}}
            <span><a class="edit" href="/edit/{{post.name}}/{{post.time.day}}/{{post.title}}">编辑</a></span>
            <span><a class="edit" href="/remove/{{post.name}}/{{post.time.day}}/{{post.title}}">删除</a></span>
        {{/equal}}
    {{/if}}
    {{#reprintShow}}
        <span><a class="edit" href="/reprint/{{post.name}}/{{post.time.day}}/{{post.title}}/{{post._id}}">转载</a></span>
    {{/reprintShow}}
</p>
<p class="info">
    作者：<a href="/u/{{post.name}}">{{post.name}}</a> |
    日期：{{post.time.minute}}
    标签：
    {{#each post.tags}}
        {{#if this}}
            <a class="tag" href="/tags/{{this}}">{{this}}</a>
        {{/if}}
    {{/each}}
    {{#if post.reprint_info.reprint_from.name}}
        <br><a href="/u/{{post.reprint_info.reprint_from.name}}/{{post.reprint_info.reprint_from.day}}/{{post.reprint_info.reprint_from.title}}">原文链接</a>
    {{/if}}
</p>
<p>{{{post.post}}}</p>
<p class="info">
    阅读：{{post.pv}} |
    评论：{{post.comments.length}} |
    转载：
    {{#if post.reprint_info.reprint_to}}
        {{post.reprint_info.reprint_to.length}}
    {{else}}
        0
    {{/if}}
</p>
{{> comment}}